package com.owc.domain.vo.app;

import com.owc.common.custom.annotation.IsPhone;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2019/12/2 13:49
 * @Version 1.0.0
 * @Description <Register params vo.>
 **/
@Data
public class RegisterVo implements Serializable {

    @NotNull(message = "Please enter the phone number")
    @IsPhone
    private String phone;
    @NotNull(message = "Please enter the verification code")
    private Integer authCode;
    @NotNull(message = "Please enter the password")
    private String password;
    @NotNull(message = "Please enter the confirm password")
    private String confirmPassword;
    private Integer mobileArea;
}
